//
// Created by russell on 2021/12/22.
//
#include <stdio.h>
#include "../linked_list/struct_def.h"
#include "../note_by_ps/addnew.h"
#include "search.h"
int main(int argc, char const *argv[]) {
    setlocale(LC_ALL, "");
    day_data test ;
    test.number = 1;
    date test_start;

    list_head a = (list_head) malloc(sizeof(linked_list));
    addnew( a);

    wprintf(L"请输入开始时间的年份:");
    wscanf(L"%d",&test_start.year);
    wprintf(L"请输入开始时间的月份:");
    wscanf(L"%d",&test_start.month);
    wprintf(L"请输入开始时间的日子:");
    wscanf(L"%d",&test_start.day);

    search_start(a,test_start);
    system("pause");

    return 0;
}
